package com.itheima.es.mapper;

import com.itheima.es.pojo.Sku;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SkuMapper {
    @Select("select id,name,price,num,image,create_time,category_id,category_name,brand_name from tb_sku")
    List<Sku> findAll();
}
